package com.zhu.service.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhu.service.cms.pojo.CmsAd;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhu.service.cms.vo.CmsAdVo;
import com.zhu.service.edu.pojo.vo.PageBean;

import java.util.List;

/**
 * <p>
 * 广告推荐 服务类
 * </p>
 *
 * @author zhu
 * @since 2022-08-14
 */
public interface ICmsAdService extends IService<CmsAd> {

    IPage<CmsAdVo> selectPage(Page<CmsAdVo> pages);

    PageBean selectPages(Long currentPage, Long size, CmsAdVo cmsAdVo);

    Boolean removeImageById(String id);

    List<CmsAd> selectById(String id);

}
